﻿<?php

include("db_connection.php"); //db접속파일
global $connect;

//text_exe("net_eng"); //시험가동하는데 쓴다.

global $connect;
$table_name = "word_meaning";

$sql = "select * from $table_name";
echo $sql ;
$rs = mysql_query($sql,$connect);

while($result = mysql_fetch_array($rs)){
    $word = $result[word];
    $sql = "UPDATE $table_name SET meaning = 'insert' WHERE word = '$word';"; //단어뜻 업데이트
    mysql_query($sql,$connect);
}

mysql_free_result($rs);

?>
